//
//  LZCouponListModel.h
//  laziz_Merchant
//
//  Created by xbnzd on 16/12/25.
//  Copyright © 2016年 XBN. All rights reserved.
//

#import <Foundation/Foundation.h>

//===============优惠列表 优惠model 或者 是提交优惠的model
@interface LZCouponListModel : NSObject<NSCopying>

@property (nonatomic, assign) NSTimeInterval nowTime;//当前时间,用于倒计时用
@property (nonatomic, strong) NSString *couponId; //优惠id
@property (nonatomic, strong) NSString *sellerId; //商户id
@property (nonatomic, strong) NSString *restaurantName; //商户名称
@property (nonatomic, strong) NSString *videoUrl; //视频地址
@property (nonatomic, strong) NSString *videoPhoto; //视频图片
@property (nonatomic, strong) NSString *promotionTitle; //优惠标题
@property (nonatomic, strong) NSString *promotionFood; //食材
@property (nonatomic, strong) NSString *tag; //标签.以固定字符(如 ,)分开
@property (nonatomic, strong) NSString *profile; //简介
@property (nonatomic, assign) int state; //状态 1 已保存 2 待审核 3 审核通过 4 审核退回 5 已发布 6 已下线
@property (nonatomic, assign) int isDelete; //状态 1 未删除 0删除 ===此参数再发布时务必赋值为1
@property (nonatomic, strong) NSString *couponsName; //优惠券名称
@property (nonatomic, assign) CGFloat couponsMoney; //优惠金额
@property (nonatomic, assign) CGFloat couponsRatio; //优惠幅度
//@property (nonatomic, assign) int couponsOrigin; // 1 商户自筹 0 平台补贴
@property (nonatomic, strong) NSString *couponsUseConditions; //使用限制
@property (nonatomic, assign) int couponsTotalCount; //优惠券总数
@property (nonatomic, assign) int couponsUsedCount; //已经使用数量
@property (nonatomic, assign) int couponsGetCount; //已经领取数量
@property (nonatomic, assign) NSTimeInterval couponsStartTime; //优惠开始时间
@property (nonatomic, assign) NSTimeInterval couponsEndTime; //优惠结束时间
@property (nonatomic, strong) NSString *couponsExceptTime; //优惠例外时间
@property (nonatomic, strong) NSString *couponsStartDaytime; //优惠每天开始时间
@property (nonatomic, strong) NSString *couponsEndDaytime; //优惠每天结束时间
@property (nonatomic, strong) NSString *couponsRemindAppoint; //预约提醒
@property (nonatomic, strong) NSString *couponsRemindRule; //规则提醒
@property (nonatomic, strong) NSString *grouponName; //团购名称
@property (nonatomic, strong) NSString *grouponFoods; //团购菜品
@property (nonatomic, assign) CGFloat grouponBeforeCost; //原价
@property (nonatomic, assign) CGFloat grouponAfterCost; //团购价
//@property (nonatomic, assign) int grouponOrigin; //1 商户自筹 0 平台补贴
@property (nonatomic, assign) int grouponCount; //团购总数
@property (nonatomic, assign) int grouponFinishCount; //已经成团的数量
@property (nonatomic, assign) NSTimeInterval grouponDeadline; //团购使用到期时间
@property (nonatomic, assign) NSTimeInterval grouponEndTime; //团购截止截止时间 == 用于倒计时
@property (nonatomic, strong) NSString *grouponExceptTime; //团购列外时间
@property (nonatomic, strong) NSString *grouponStartDaytime; //团购每日开始时间
@property (nonatomic, strong) NSString *grouponEndDaytime; //团购每日结束时间
@property (nonatomic, strong) NSString *grouponRemindAppoint; //团购提醒
@property (nonatomic, strong) NSString *grouponRemindRule; //团购规则提醒
@property (nonatomic, assign) int likesCount; //点赞次数
@property (nonatomic, assign) int storeCount; //收藏次数
@property (nonatomic, assign) int shareCount; //分享次数
@property (nonatomic, assign) int remarkCountPerson; //视频评论人数
@property (nonatomic, assign) CGFloat remarkCountScore; //视频评论总分数
@property (nonatomic, assign) int playCount;  //播放次数

- (NSString*)getGroupEverydayValid;

- (NSString*)getCouponEverydayValid;

@end
